﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Microsoft.Phone.Controls;

namespace WoW_Dives_Soundboard
{
    public partial class MainPage : PhoneApplicationPage
    {
        // Object to play sound files
        PlaySoundFiles soundPlayer = new PlaySoundFiles();

        // Constructor
        public MainPage()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, RoutedEventArgs e)
        {
            soundPlayer.playOddLeftEvenRight();
        }

        private void button2_Click(object sender, RoutedEventArgs e)
        {
            soundPlayer.playfiftyDKPMinus();
        }

        private void button3_Click(object sender, RoutedEventArgs e)
        {
            soundPlayer.playWhelpGroups();
        }

        private void button4_Click(object sender, RoutedEventArgs e)
        {
            soundPlayer.playAggroDKP();
        }

        private void button5_Click(object sender, RoutedEventArgs e)
        {
            soundPlayer.playdoNotStandBesidePeople();
        }

        private void button6_Click(object sender, RoutedEventArgs e)
        {
            soundPlayer.playDPSSlow();
        }

        private void button7_Click(object sender, RoutedEventArgs e)
        {
            soundPlayer.playEvenRight();
        }

        private void button8_Click(object sender, RoutedEventArgs e)
        {
            soundPlayer.playOddLeft();
        }

        private void button9_Click(object sender, RoutedEventArgs e)
        {
            soundPlayer.playResetAggro();
        }

        private void button10_Click(object sender, RoutedEventArgs e)
        {
            soundPlayer.playFeignDeathVanish();
        }

        private void button11_Click(object sender, RoutedEventArgs e)
        {
            soundPlayer.playHitHardAndFast();
        }

        private void button12_Click(object sender, RoutedEventArgs e)
        {
            soundPlayer.playKickedIntoWhelps();
        }

        private void button13_Click(object sender, RoutedEventArgs e)
        {
            soundPlayer.playMoreDots();
        }

        private void button14_Click(object sender, RoutedEventArgs e)
        {
            soundPlayer.playStopDots();
        }

        private void button15_Click(object sender, RoutedEventArgs e)
        {
            soundPlayer.playLoseAgain();
        }

        private void button16_Click(object sender, RoutedEventArgs e)
        {
            soundPlayer.playLeeCenter();
        }

        private void button17_Click(object sender, RoutedEventArgs e)
        {
            NavigationService.Navigate(new Uri("/MoreSounds.xaml", UriKind.Relative));
        }
    }
}